package com.qf.api.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * @Author: sin
 * @Date: 2025/5/7 15:26
 * @Description:
 **/
@TableName(value ="响应路由")
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RouteVO {
    private String path;
    private String name;
    private String component;
    private Meta meta;

    private String redirect;

    private List<RouteVO> children;

    @Data
    public static class Meta{
        private String title;
        private String icon;
        private Boolean showLink;
        private String frameSrc;
        private Boolean keepAlive;
        private List<String> roles;
        private List<String> auths;
    }
}
